<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%><%@ include file="/include.inc.jsp"%>
<h2 class="contentTitle">Add News</h2>
<div class="pageContent">
<form action="<c:url value='/management/menu/insertSecond?navTabId=menuLiNav2&callbackType=closeCurrent'/>" method="post" class='required-validate pageForm' onsubmit="return validateCallback(this,navTabAjaxDone);">

<div class="pageFormContent" layoutH="97">
	<div class="unit">
		<label>父级菜单</label>
		<select name="wechatMenu.parentCode" class="required">
					<option value="">请选择</option>
					<c:forEach var="item" items="${menuList}">
					<option value="${item.wechatMenu.code}">${item.wechatMenu.name}</option>
					</c:forEach>
		</select>
	</div>
	<div class="unit">
		<label>菜单名称</label>
		<input type="text" name="wechatMenu.name" class="textInput required" maxlength="32" size="64"/>
	</div>
	<div class="unit">
		<label>菜单关键字</label>
		<input type="text" name="wechatMenu.keyName" class="textInput required" maxlength="32" size="64"/>
	</div>
	<div class="unit">
		<label>菜单事件</label>
		<select name="wechatMenu.eventName" class="required">
		            <option value="">请选择</option>
					<c:forEach var="item" items="${menuEventList}">
					<option value="${item}">${item}</option>
					</c:forEach>
		</select>
		
	</div>
</div>
<div class="formBar">
	<ul>
		<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
		<li><div class="button"><div class="buttonContent"><button type="button" class="close">关闭</button></div></div></li>
	</ul>
</div>


</form>
</div>